#ifndef USERMODEL_H
#define USERMODEL_H

#include <QDebug>
#include <QVector>


#include"model/basemodel.h"


class UserModel : public BaseModel
{
public:
    UserModel();

    // BaseModel interface
public:
    int Table_Query(char *sql);
    void Table_Delete(char *sql);
    int Table_Inserter(char *sql);
    int Table_Modifier(char *sql);
    User *getUserByName(char *sql);
    QVector<User> getUser(char *sql);
    int getRow(char *sql);/*需优化判断*/
    //int SizeUser(User **user);
private:
    QVector<User> adduser;




};

#endif // USERMODEL_H
